home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Resources / General / ProNET / src / src / flush.c next >
Encoding:
C/C++ Source or Header  |  1997-01-26  |  239 b   |  20 lines

  1. /*
  2.     flush.c
  3.  
  4.  
  5. */
  6.  
  7. #include <exec/execbase.h>
  8.  
  9. #include <proto/exec.h>
  10.  
  11. void flush_pronet_dev()
  12. {
  13.     struct Device *pdev;
  14.  
  15.     Forbid();
  16.     if((pdev=(struct Device *)FindName(&SysBase->DeviceList,"pronet.device")))
  17.         RemDevice(pdev);
  18.     Permit();
  19. }
  20.